export default
[
  {
    path: '',
    redirect: 'workbench'
  },
  // 工作台
  {
    path: 'workbench',
    name: 'workbench',
    component: () => import('@/page/shipCenter/workbench'),
    meta: {openKeyName: '数据可视化', selectKeyUrl: 'workbench'}
  },
  // 船舶管理
  {
    path: 'shipManagement',
    name: 'shipManagement',
    component: () => import('@/page/shipCenter/shipManagement'),
    meta: {openKeyName: '船舶航线管理', selectKeyUrl: 'shipManagement'}
  },
  // 创建船舶
  {
    path: 'shipManagement/create',
    name: 'create',
    component: () => import('@/page/shipCenter/shipManagementCreate'),
    meta: {openKeyName: '船舶航线管理', selectKeyUrl: 'shipManagement'}
  },
  // 船舶详情
  {
    path: 'shipManagement/detail/:id',
    name: 'detail',
    props: true,
    component: () => import('@/page/shipCenter/shipManagementDetail'),
    meta: {openKeyName: '船舶航线管理', selectKeyUrl: 'shipManagement'}
  },
  // 航线管理
  {
    path: 'routeManagement',
    name: 'routeManagement',
    component: () => import('@/page/shipCenter/routeManagement'),
    meta: {openKeyName: '船舶航线管理', selectKeyUrl: 'routeManagement'}
  },
  // 创建航线
  {
    path: 'routeManagement/create',
    name: 'routeCreate',
    component: () => import('@/page/shipCenter/routeCreate'),
    meta: { openKeyName: '船舶航线管理', selectKeyUrl: 'routeManagement' }
  },
  // 航次管理
  {
    path: 'voyageManagement',
    name: 'voyageManagement',
    component: () => import('@/page/shipCenter/voyageManagement'),
    meta: { openKeyName: '船舶航线管理', selectKeyUrl: 'voyageManagement', keepAlive: true }
  },
  // 航次详情
  {
    path: 'voyageManagement/detail/:id',
    name: 'voyageManagementDetail',
    component: () => import('@/page/shipCenter/voyageManagementDetail'),
    props: true,
    meta: { openKeyName: '船舶航线管理', selectKeyUrl: 'voyageManagement' }
  },
  // 库存油品
  {
    path: 'stockProducts',
    name: 'stockProducts',
    component: () => import('@/page/shipCenter/stockProducts'),
    meta: { openKeyName: '库存管理', selectKeyUrl: 'stockProducts' }
  },
  // 其它原因耗油
  {
    path: 'fuelConsumptionForOtherReasons',
    name: 'otherFuelReasons',
    component: () => import('@/page/shipCenter/otherFuelReasons'),
    meta: { openKeyName: '库存管理', selectKeyUrl: 'fuelConsumptionForOtherReasons' }
  },
  // 总耗油情况
  {
    path: 'totalFuelConsumption',
    name: 'totalFuel',
    component: () => import('@/page/shipCenter/totalFuel'),
    meta: { openKeyName: '库存管理', selectKeyUrl: 'totalFuelConsumption' }
  },
  // 应收费用类型
  {
    path: 'receivableExpenseType',
    name: 'receivableExpenseType',
    component: () => import('@/page/shipCenter/settlementObjectManagement/receivableExpenseType'),
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'receivableExpenseType' }
  },
  // 应收结算对象
  {
    path: 'receivableSettlementObject',
    name: 'receivableSettlementObject',
    component: () => import('@/page/shipCenter/settlementObjectManagement/receivableSettlementObject'),
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'receivableSettlementObject' }
  },
  {
    path: 'receivableSettlementObject/receivableSettlementObjectOperation',
    name: 'receivableSettlementObject/receivableSettlementObjectOperation',
    component: () => import('@/page/shipCenter/settlementObjectManagement/receivableSettlementObjectOperation'),
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'receivableSettlementObject' }
  },
  {
    path: 'receivableSettlementObject/:id',
    name: 'receivableSettlementObject/receivableSettlementObjectDetail',
    component: () => import('@/page/shipCenter/settlementObjectManagement/receivableSettlementObjectDetail'),
    props: true,
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'receivableSettlementObject' }
  },
  // 应付费用类型
  {
    path: 'feePayableType',
    name: 'feePayableType',
    component: () => import('@/page/shipCenter/settlementObjectManagement/feePayableType'),
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'feePayableType' }
  },
  // 应付结算对象,
  {
    path: 'copeWithSettlementObject',
    name: 'copeWithSettlementObject',
    component: () => import('@/page/shipCenter/settlementObjectManagement/copeWithSettlementObject'),
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'copeWithSettlementObject' }
  },
  {
    path: 'copeWithSettlementObject/copeWithSettlementObjectOperation',
    name: 'copeWithSettlementObject/copeWithSettlementObjectOperation',
    component: () => import('@/page/shipCenter/settlementObjectManagement/copeWithSettlementObjectOperation'),
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'copeWithSettlementObject' }
  },
  {
    path: 'copeWithSettlementObject/:id',
    name: 'copeWithSettlementObject/copeWithSettlementObjectDetail',
    component: () => import('@/page/shipCenter/settlementObjectManagement/copeWithSettlementObjectDetail'),
    props: true,
    meta: { openKeyName: '结算对象管理', selectKeyUrl: 'copeWithSettlementObject' }
  }
]
